package com.tnsw.noxnox.downloader;

public class AttrBase {
	
	private int width = -1;
	private int height = -1;
	private String contentType = "";
	private String title = "";
	private String codec = "";
	
	public AttrBase() {
		
	}
	
	public AttrBase(int width, int height, String contentType) {
		this.width = width;
		this.height = height;
		this.contentType = contentType;
	}
	
	public void setCodec(String codec) {
		this.codec = codec;
	}
	
	public String getCodec() {
		return(this.codec);
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getTitle() {
		return(this.title);
	}
	
	public int getWidth() {
		return(this.width);
	}
	
	public void setWidth(int width) {
		this.width = width;
	}
	
	public int getHeight() {
		return(this.height);
	}
	
	public void setHeight(int height) {
		this.height = height;
	}
	
	public String getContentType() {
		return(this.contentType);
	}
	
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	
	@Override
	public String toString() {
		String s = "width=" + String.valueOf(this.width) + ", height=" + String.valueOf(this.height) +
				", contentType=" + this.contentType;
		return(s);
	}

}
